﻿using Microsoft.AspNetCore.Mvc;

using Service;

using SqlSugar;

namespace api_2025.Controllers
{
    [ApiController]
    [Route("[controller]")]
    public class TestController : Controller
    {

        private readonly ILogger<TestController> _logger;
        private readonly ISystemService _iSystemService;

        public TestController(ILogger<TestController> logger, ISystemService iSystemService)
        {
            _logger = logger;
            _iSystemService = iSystemService;
        }

        [HttpPost(Name = "test1111111")]
        public void Get(PageModel pageModel)
        {
            _iSystemService.GetDescriptionPage( pageModel);
        }
    }
}
